package com.srt.util;

public class SrtUtil {
    public static final String LINEBREAK = "\r\n";

    public static boolean isContainChinese(String str) {
        boolean bflag = false;
        if (str == null) {
            return bflag;
        }
        char[] c = str.toCharArray();
        for (int i = 0; i < c.length; i++) {
            if (c[i] >= 0x4E00 && c[i] <= 0x29FA5) {
                bflag = true;
                return bflag;// 有一个中文字符就返回
            }
        }
        return bflag;
    }
}
